#ifndef TILESET_POLYGON_HPP
#define TILESET_POLYGON_HPP

#include "tilesetPoint.hpp"
#include <vector>
class TiXmlNode;

namespace Tmx {
  class Polygon {
  public: 
    Polygon();
	void parse(TiXmlNode *polygonNode);
	Point getPoint(int index) {return points[index];}
	int getNumPoints() {return points.size();}
  private:
    std::vector<Point> points;
  };
}; // namespace 

#endif
